package dicionario;


import java.util.Vector;
public interface Tree {	
	public void criarRaiz (Object e);	
	public void criarFilho (Object e, Position pai);
	public int size ();	
	public boolean isEmpty ();
	public Vector getElements ();
	public Vector getPositions ();
	public Position root ();	
	public Position filho (Position p);
	public Position irmao (Position p);
	public Position pai (Position p);
	public java.util.Iterator filhos (Position p);
	public boolean isExternal (Position p);
	public boolean isInternal (Position p);
	public boolean isRoot (Position p);
	public void swapElements (Position p1, Position p2);
	public Object replaceElements (Position p, Object e);
}